package com.xgst.land.activity.check

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.xgst.land.R
import com.xgst.land.bean.InventoryRecordBean

class InventoryRecordAdapter:BaseQuickAdapter<InventoryRecordBean.DataBean.PageListBean,BaseViewHolder>(R.layout.item_record_layout) {
    override fun convert(holder: BaseViewHolder, item: InventoryRecordBean.DataBean.PageListBean) {
        holder.setText(R.id.tvName,item.name)
        holder.setText(R.id.tvUser,"创建者：${item.username?:"--"}")
        holder.setText(R.id.tvTime,"创建时间：${item.createTime}")
    }
}
